<?php /*a:1:{s:52:"/home/wwwpay/wwpayu/app/api/view/zhaopin/index1.html";i:1704954058;}*/ ?>
<!DOCTYPE html>
<html lang="zh">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>帕羽科技-岗位自评-绩效方向</title>
	<link rel="stylesheet" href="/static/zhaopin/css/element.css">
	<link rel="stylesheet" href="/static/zhaopin/css/index.css">
	<script src="/static/zhaopin/js/vue.js"></script>
	<script src="/static/zhaopin/js/element.js"></script>
	<script src="/static/zhaopin/js/jquery.js"></script>
</head>

<style>
	.noBorder {
		border-top: none !important;
	}
	.dec_cont{
		display: flex;
		flex-direction: column;
	}
	.dec_cont .sp1{

	}
	.dec_cont .sp2{
		border-top: 10px solid rgb(241, 241, 241);
		padding-top: 10px;
		color: #000;
		font-size: 16px;
		font-weight: bold;
		padding-bottom: 10px;
	}
</style>

<body>
	<div id="app">
		<div class='title'>帕羽科技-岗位自评-绩效方向</div>
		<div class='xuzhi'>填写须知</div>
		<div class='neirong'>
			<p>(一)评测内容</p>
			<span>本部分包含特长爱好、个人经历复盘、意向确认、自我评估等内容<a>一方面可以让本岗位的面试官更全面的了解您，提高传统面试环节的效率和准确性，匹配您的意愿;另一方面，也可以帮助您进行一次全面的个人复盘</a></span>
			<span>我们认为，在和您的成长、教育、兴趣等北京更加契合的岗位和团队之中工作,能有效提高岗位表现和工作幸福感</span>
		</div>
		<div class='neirong' style='border-bottom:10px solid #f1f1f1;'>
			<p>(二)注意事项</p>
			<span>1、帕羽科技不向任何第三方及公司内部无关人员泄露候选人的个人信息，所有线上资料将严格保管于平台数据库，仅为公司招聘和内部管理使用。</span>
			<span>2、候选人应保证求职过程中填写信息均真实完整。主观题作答均无标准答案，回答不分对错，根据个人情况据实填写即可</span>
			<span>3、请认真按照以上要求真实、完整作答。<a>本环节的完成度对于候选人的岗位意向性/胜任力评估，以及入职后团队安排的满意度具有重要的影响。</a>(参考，数据库显示，最终通过面试的候选人笔试作答时间90%在20分钟以上)</span>
		</div>
		<div class='biaodan'>
			<el-form :label-width='shouji?"100px":"190px"'>
				<el-form-item label='您应聘的岗位'>
					<el-select placeholder='请选择应聘的岗位' v-model='job'>
						<el-option v-for='item in gangwei' :label='item.name' :value='item.value'></el-option>
					</el-select>
				</el-form-item>
				<el-form-item label='招聘人'>
					<el-select placeholder='请选择招聘人' v-model='hr'>
						<el-option v-for='item in zhaopinren' :label='item.name' :value='item.value'></el-option>
					</el-select>
				</el-form-item>
				<el-form-item label='招聘信息来源'>
					<el-select placeholder='请选择招聘信息来源' v-model='hr_from'>
						<el-option v-for='item in laiyuan' :label='item.name' :value='item.value'></el-option>
					</el-select>
				</el-form-item>
				<el-form-item label='应聘渠道'>
					<el-select placeholder='请选择应聘渠道' v-model='pin_from'>
						<el-option v-for='item in qudao' :label='item.name' :value='item.value'></el-option>
					</el-select>
				</el-form-item>
				<el-form-item label='您的姓名'>
					<el-input placeholder='' v-model='uname' style='width:220px;'></el-input>
				</el-form-item>
				<div class='xinxi'><span>*</span>应聘人基本信息</div>

				<div v-for='(item,index) in list'>
					<div v-if='item.leixing&&(job==5||job==6||job==7||job==8)'>
						<div v-if='item.type=="text"' class='xinxi'>{{item.name}}</div>
						<div v-if='item.type=="text"' class='xinxi1'>{{item.name1}}</div>
						<el-form-item :label='item.name'>
							<el-input v-if='item.type=="textarea"' type='textarea'
								:placeholder='item.placeholder'></el-input>
							<el-form-item></el-form-item>
					</div>
					<div v-if='!item.leixing'>
						<div v-if='item.type!="jingli"&&item.type!="duozi"&&item.type!="text"'>
							<div v-if="item.status==1&&(job==5||job==6||job==7||job==8)||!item.status">
								<div class="dec_cont" v-if="item.name=='现住地址'">
									<span class="sp1"></span>
									<span class="sp2">居住情况</span>
								</div>
								<div v-if="xianzhu==2&&item.name=='租金'||item.name!='租金'">
									<el-form-item :label='item.name' v-if='!item.xiaozhao?true:pin_from==2'>


										<p v-if='item.name1'>{{item.name1}}</p>
										<el-input :placeholder='item.placeholder' v-if='item.type=="input"'
											v-model='item.value' class='shuru'></el-input>


										<div v-if="item.name=='现住地址所有权'">
											<el-select @change="xianzhuzhi" :placeholder='item.placeholder'
												v-if='item.type=="select"' v-model='item.value'>
												<el-option v-for='ite in item.list' :label='ite.name'
													:value="ite.value"></el-option>
											</el-select>
										</div>
										<div v-else>
											<el-select :placeholder='item.placeholder' v-if='item.type=="select"'
												v-model='item.value'>
												<el-option v-for='ite in item.list' :label='ite.name'
													:value="ite.value"></el-option>
											</el-select>
										</div>
										<div v-if='item.type=="time"'>
											<el-date-picker type='date' placeholder='请选择日期'
												v-model='item.date'></el-date-picker>
											<span>-</span>
											<el-time-picker placeholder='请选择时间' v-model='item.date1'></el-time-picker>
										</div>
										<div v-if='item.type=="time1"'>
											<el-date-picker type='date' placeholder='请选择到岗时间'
												v-model='item.date'></el-date-picker>
										</div>
										<div v-if='item.type=="zhaopian"'>
											<div class='zhaopian'>
												<img src='/static/zhaopin/img/shangchuan.png'>
												<p>选择文件(不超过4m)</p>
												<input type='file'>
											</div>
										</div>
										<el-input :placeholder='item.placeholder' v-model='item.value' type='textarea'
											v-if='item.type=="textarea"' style='width:300px;'></el-input>
										<div v-if='item.type=="pingfen"'>
											<div class='pingfen2' v-for='ite in item.list'>
												<span>{{ite.name}}</span>
												<el-rate v-model="ite.value"
													style='float:left;margin-top:10px;margin-left:10px;'></el-rate>
											</div>
										</div>
									</el-form-item>
								</div>
							</div>
						</div>
						<div v-if="item.status==1&&(job==5||job==6||job==7||job==8)||!item.status">
							<div v-if='item.type=="text"' style='border-top:10px solid #f1f1f1;padding-top:10px;'>
								<div class='xinxi'>{{item.name}}</div>
								<div class='xinxi1'>{{item.name1}}</div>
								<div v-for='ite in item.list'>
									<el-form-item :label='ite.name'>
										<el-input type='textarea' v-model='ite.value' style='margin-top:20px;'
											class='shuru'></el-input>
									</el-form-item>
								</div>
							</div>
						</div>
						<div v-if='item.type=="jingli"' :class="{noBorder:item.light==1}"
							style='border-top:10px solid #f1f1f1;padding-top:10px;'>
							<div class="dec_cont" v-if="item.sts=='topbord'">
								<span class="sp1"></span>
								<span class="sp2">请补充以下入职人事信息</span>
							</div>
							<div v-for='(it,inde) in item.list'>
								<div class='xinxi'>
									{{it.name}}<span v-if='inde>0'>{{inde+1}}</span>
									<div v-if='item.daibiaoxing'>
										<img src='/static/zhaopin/img/tianjia.png' v-if='inde==item.list.length-1'
											@click='add(index)'>
										<img src='/static/zhaopin/img/shanchu.png' v-if='inde>0'
											@click='shanchu(index,inde)'>
									</div>
									<div v-else>
										<img src='/static/zhaopin/img/tianjia.png' v-if='inde==item.list.length-1'
											@click='add1(index)'>
										<img src='/static/zhaopin/img/shanchu.png' v-if='inde>0'
											@click='shanchu(index,inde)'>
									</div>
								</div>
								<div class='wenzi'>{{it.name1}}</div>
								<el-form-item v-for='ite in it.list' :label='ite.name'>
									<el-input :placeholder='ite.placeholder' v-if='ite.type=="input"'
										v-model='ite.value' class='shuru'></el-input>
									<el-select :placeholder='ite.placeholder' v-if='ite.type=="select"'
										v-model='ite.value'>
										<el-option v-for='it in ite.list' :label='it.name'
											:value="it.value"></el-option>
									</el-select>
									<div v-if='ite.type=="time"'>
										<el-date-picker type='date' placeholder='请选择起始年月'
											v-model='ite.date'></el-date-picker>
										<span>-</span>
										<el-date-picker type='date' placeholder='请选择终止年月'
											v-model='ite.date1'></el-date-picker>
									</div>
								</el-form-item>
							</div>
						</div>
					</div>
				</div>
			</el-form>
			<el-button type='success' @click="sub" style='width:200px;margin:20px auto;display:block;'>提交</el-button>
		</div>
	</div>
	<script>
		var shouji = false
		if (document.body.clientWidth > 720) {
			shouji = false
		} else {
			shouji = true
		}
		new Vue({
			el: '#app',
			data: function () {
				return {
					job: '',
					hr: '',
					hr_from: '',
					pin_from: '',
					uname: '',
					gangwei: [
						{
							name: '电商运营',
							value: 1
						}, {
							name: '电商客服', value: 2
						}, {
							name: '供应链专员', value: 3
						}, {
							name: '电商设计', value: 4
						}, {
							name: 'HR-招聘', value: 5
						}, {
							name: 'HR-绩效',
							value: 6
						},
						{
							name: '仓储经理',
							value: 7
						},
						{
							name: '董事长助理',
							value: 8
						},
						{
							name: '其他方向',
							value: 9
						}
					],
					zhaopinren: [
						{
							name: '伯乐',
							value: 1
						},
						{
							name: '曹操',
							value: 2
						},
						{
							name: '郭靖',
							value: 3
						},
						{
							name: '姜维',
							value: 4
						}
					],
					laiyuan: [
						{
							name: 'BOSS直聘',
							value: 1
						},
						{
							name: '智联',
							value: 2
						},
						{
							name: '猎聘',
							value: 3
						},
						{
							name: '内推',
							value: 4
						},
						{
							name: '猎头',
							value: 5
						},
						{
							name: '现场招聘',
							value: 6
						},
						{
							name: '其他',
							value: 7
						}
					],
					qudao: [
						{
							name: '社招',
							value: 1
						},
						{
							name: '校招',
							value: 2
						}
					],
					list: [

						{
							name1: '是否有电商经验',
							placeholder: '请输入您的是否有电商经验',
							field: 'has_dsjy',
							type: 'input',
							value: ''
						},
						{
							name1: '兴趣爱好',
							placeholder: '请输入兴趣爱好',
							field: 'interesting',
							type: 'input',
							value: ''
						},
						{
							name1: '校/市/省级特长',
							placeholder: '请输入校/市/省级特长',
							field: 'strong_point',
							type: 'input',
							value: ''
						},
						{
							name1: '获取证书',
							placeholder: '请输入获取证书',
							field: 'credential',
							type: 'input',
							value: ''
						},
						{
							name1: '是否有驾照',
							placeholder: '请输入是否有驾照',
							field: 'driver_license',
							type: 'input',
							value: ''
						},
						{
							name1: '请分享您的读书清单',
							placeholder: '请分享您的读书清单',
							field: 'book_list',
							type: 'textarea',
							value: ''
						},
						{
							name1: '在校期间最大的目标是',
							field: 'school_goal',
							placeholder: '请输入',
							type: 'input',
							value: ' ',
							xiaozhao: 1
						},
						{
							name1: '是否完成该目标',
							type: 'input',
							placeholder: '请简要描述',
							field: 'is_finish_goal',
							value: ' ',
							xiaozhao: 1
						},
						{
							name1: '求学期间是否有勤工俭学、经营创收等自主收入',
							placeholder: '请选择',
							field: 'school_income',
							list: [
								{
									name: '无',
									value: ''
								},
								{
									name: '1K以下',
									value: 1
								},
								{
									name: '1K-2K',
									value: 2
								},
								{
									name: '2K-5K',
									value: 3
								},
								{
									name: '5K-10K',
									value: 4
								},
								{
									name: '10K以上',
									value: 5
								}
							],
							type: 'select',
							value: ''
						},
						{
							name1: '在校期间消费水平',
							placeholder: '请选择',
							field: 'school_coast',
							list: [
								{
									name: '请选择',
									value: ''
								},
								{
									name: '1K以下',
									value: 1
								},
								{
									name: '1K-2K',
									value: 2
								},
								{
									name: '2K-3K',
									value: 3
								},
								{
									name: '3K-5K',
									value: 4
								},
								{
									name: '5K以上',
									value: 5
								}
							],
							type: 'select',
							value: ''
						},
						{
							name1: '打字速度',
							placeholder: '例55/分钟',
							type: 'input',
							field: 'typing_speed',
							value: ''
						},
						{
							name1: '请对以下维度进行自评分',

							field: 'has_dsjy',
							list: [
								{
									name: 'EXCEL水平',
									field: 'excel_level',
									value: ''

								},
								{
									name: 'PPT水平',
									field: 'ppt_level',
									value: ''
								}
							],
							type: 'pingfen',
						},
						{
							name1: '请您根据自己的实际情况',
							type: 'pingfen',
							field: 'has_dsjy',
							list: [
								{
									name: '工作',
									field: 'job_level',
									value: ''
								},
								{
									name: '生活',
									field: 'live_level',
									value: ''
								},
								{
									name: '细心',
									field: 'careful_level',
									value: ''
								},
								{
									name: '责任心',
									field: 'zrx_level',
									value: ''
								},
								{
									name: '沟通能力',
									field: 'gt_level',
									value: ''
								},
								{
									name: '赚钱能力',
									field: 'make_money_level',
									value: ''
								},
								{
									name: '省钱能力',
									field: 'save_money_level',
									value: ''
								},
								{
									name: '强迫症指数',
									field: 'qpz_level',
									value: ''
								},
								{
									name: '成年人指数',
									field: 'cnr_level',
									value: ''
								}
							]
						},
						{
							name1: '入职第一年，每天投入多长时间在工作中',
							placeholder: '请输入',
							type: 'input',
							field: 'first_year_work_hours',
							value: ''
						},
						{
							name1: '最擅长的事',
							placeholder: '请输入',
							type: 'input',
							field: 'best_in',
							value: ''
						},
						{
							name1: '最不擅长的事',
							placeholder: '请输入',
							type: 'input',
							field: 'no_best_in',
							value: ''
						},
						{
							name: '我们希望您能列举求学或工作期间，解决过三个最困难的问题，并估算每个问题的价值金额',
							type: 'text',
							name1: '【要求:①问题本身是客观的、价值可量化的，解决后能产生具体效益;②解决问题的结局是成功的;③没有你的贡献，则该问题无法解决;】',
							list: [
								{
									name: '第一个问题',
									placeholder: '请输入',
									field: 'question1',
									value: ''
								},
								{
									name: '第二个问题',
									placeholder: '请输入',
									field: 'question2',
									value: ''
								},
								{
									name: '第三个问题',
									placeholder: '请输入',
									field: 'question3',
									value: ''
								}
							]
						},
						{
							name: '我们希望您能就奔岗位中可能遇到的专业问题，分享自己的思路和意见',
							type: 'text',
							name1: '【要求:请简要描述，清晰分点;】',
							status: 1,
						},
						{
							name1: '列举您亲自设计的最成功的一次绩效方案',
							type: 'textarea',
							field: 'best_success_plan',
							// leixing:1,
							value: '',
							status: 1,
						},

						{
							name1: '请为自己设置入职本岗位后的个人绩效方案',
							type: 'textarea',
							field: 'person_plan',
							// leixing:1,
							value: '',
							status: 1,
						},

						{
							name1: '采购部门存在旺季持续热销，供不应求的商品容易断货，而一旦由采购大量补货，又容易过零积压导致成本的问题',
							type: 'textarea',
							field: 'cgjy',
							// leixing:1,
							value: '',
							status: 1,
						},
						// {
						// 	name: '请补充以下入职人事信息',
						// 	type: 'text',
						// 	name1: '',
						// },
						{
							sts:'topbord',
							type: 'jingli',
							light: '1',
							daibiaoxing: 1,
							list: [
								{
									name: '家庭情况(父母、配偶、子女、兄弟姐妹等)',
									list: [
										{
											name: '关系',
											type: 'input',
											field: 'relation',
											placeholder: '请填写关系',
											value: ''
										},
										{
											name: '姓名',
											type: 'input',
											field: 'name',
											placeholder: '请填写姓名',
											value: ''
										},
										{
											name: '工作单位',
											type: 'input',
											field: 'company',
											placeholder: '请填写工作单位',
											value: ''
										},
										{
											name: '年龄',
											type: 'input',
											field: 'age',
											placeholder: '请填写年龄',
											value: ''
										},
										{
											name: '职务',
											type: 'input',
											field: 'job',
											placeholder: '请填写职务',
											value: ''
										},
										{
											name: '年收入',
											type: 'input',
											field: 'income',
											placeholder: '请填写年收入',
											value: ''
										}
									]
								}
							]
						},

						{
							type: 'jingli',
							light: '1',
							list: [
								{
									name: '紧急联系人',
									list: [
										{
											name: '姓名',
											type: 'input',
											field: 'name',
											placeholder: '请输入姓名',
											value: ''
										},
										{
											name: '与您的关系',
											type: 'input',
											field: 'relation',
											placeholder: '请输入与您的关系',
											value: ''
										},
										{
											name: '电话',
											type: 'input',
											field: 'phone',
											placeholder: '请输入电话',
											value: ''
										}
									]
								}
							]
						},
						{
							name: '现住地址',
							type: 'input',
							placeholder: '请填写现住地址',
							field: 'now_address',
							value: ''
						},
						{
							name: '现住地址所有权',
							placeholder: '请选择',
							field: 'now_address_belong',
							list: [
								{
									name: '自购',
									value: 1
								},
								{
									name: '租赁',
									value: 2
								}
							],
							type: 'select',
							value: ''
						},
						{
							name: '租金',
							type: 'input',
							placeholder: '如租赁请写租金',
							field: 'rent_money',
							value: ' '
						},
					],
					shouji: shouji,
					xianzhu: ''
				}
			},
			created() {
				var that = this
				var params = new URLSearchParams(window.location.search);
				let name = params.get('name');
				let id_card = params.get('id_card');
				$.ajax({
					async: true,
					url: '/Zhaopin/getInfo',
					type: 'post',
					data: { name: name, id_card: id_card },
					dataType: 'json',
					timeout: 30000,
					success: function (res) {
						console.log(res.data);
						let u = res.data;
						if (res.code == 1) {
							that.job = u.job;
							that.hr = u.hr;
							that.hr_from = u.hr_from;
							that.pin_from = u.pin_from;
							that.uname = u.name;
						}

					},
					error: function (res) {

					}
				})
			},
			methods: {
				xianzhuzhi(e) {
					this.xianzhu = e
				},
				shanchu(index, inde) {
					this.list[index].list.splice(inde, 1)
				},
				sub() {
					var params = new URLSearchParams(window.location.search);
					let name = params.get('name');
					let id_card = params.get('id_card');
					console.log(this.list);
					let list = this.list;

					for (let i = 0; i < list.length; i++) {
						if (list.type == 'input') {
							if (list[i].value == '') {
								this.$message({
									message: list[i].name + '字段不能为空',
									type: 'warning'
								});
								return;
							}
						}
						if (list[i].type == 'jingli') {
							for (let ii = 0; ii < list[i].list.length; ii++) {

								for (let iii = 0; iii < list[i].list[ii].length; iii++) {
									if (list[i].list[ii][iii].value == '') {
										this.$message({
											message: list[i].list[ii][iii].name + '字段不能为空',
											type: 'warning'
										});
										return;
									}
								}
							}
						}
					}

					let lc = list[11].list;
					for (let x = 0; x < lc.length; x++) {

						if (lc[x].value == '') {
							this.$message({
								message: lc[x].name + '字段不能为空',
								type: 'warning'
							});
							return;
						}

					}

					let l12 = list[12].list;
					for (let x = 0; x < l12.length; x++) {

						if (l12[x].value == '') {
							this.$message({
								message: l12[x].name + '字段不能为空',
								type: 'warning'
							});
							return;
						}

					}

					let l16 = list[16].list;
					for (let x = 0; x < l16.length; x++) {

						if (l16[x].value == '') {
							this.$message({
								message: l16[x].name + '字段不能为空',
								type: 'warning'
							});
							return;
						}

					}

					if (list[21].list && list[21].list.length) {
						let l = list[21].list;
						// 	console.log(l);
						for (let x = 0; x < l.length; x++) {
							var ll = l[x].list
							for (let xx = 0; xx < ll.length; xx++) {
								if (ll[xx].value == '') {
									this.$message({
										message: ll[xx].name + '字段不能为空',
										type: 'warning'
									});
									return;
								}
							}
						}
					}
					console.log(999);
					let l20 = list[22].list;
					console.log(l20);
					for (let cc = 0; cc < l20.length; cc++) {
						var tt = l20[cc];
						for (let yy = 0; yy < tt.list.length; yy++) {
							var uu = tt.list[yy];
							if (uu.value == '') {
								this.$message({
									message: uu.name + '字段不能为空',
									type: 'warning'
								});
								return;
							}
						}
					}
					console.log(23232);
					var that = this
					$.ajax({
						async: true,
						url: '/Zhaopin/save1',
						type: 'post',
						data: { list: list, name: name, id_card: id_card },
						dataType: 'json',
						timeout: 30000,
						success: function (res) {
							console.log(res);
							if (res.code == 1) {
								that.$message({
									message: '提交成功',
									type: 'warning'
								});
							} else {
								that.$message({
									message: res.msg,
									type: 'warning'
								});
							}
						},
						error: function (res) {

						},


					})
				},
				add(index) {
					var a = {
						name: '家庭情况',
						list: [
							{
								name: '关系',
								type: 'input',
								field: 'relation',
								placeholder: '请输入关系',
								value: ''
							},
							{
								name: '姓名',
								type: 'input',
								field: 'name',
								placeholder: '请输入姓名',
								value: ''
							},
							{
								name: '工作单位',
								type: 'input',
								field: 'company',
								placeholder: '请输入工作单位',
								value: ''
							},
							{
								name: '年龄',
								type: 'input',
								field: 'age',
								placeholder: '请输入年龄',
								value: ''
							},
							{
								name: '职务',
								type: 'input',
								field: 'job',
								placeholder: '请输入职务',
								value: ''
							},
							{
								name: '年收入',
								type: 'input',
								field: 'income',
								placeholder: '请填写年收入',
								value: ''
							}
						]
					}
					this.list[index].list.push(a)
				},
				add1(index) {
					var a = {
						name: '联系人',
						list: [
							{
								name: '姓名',
								type: 'input',
								field: 'name',
								placeholder: '请输入联系人',
								value: ''
							},
							{
								name: '与您的关系',
								type: 'input',
								field: 'relation',
								placeholder: '请输入与您的关系',
								value: ''
							},
							{
								name: '电话',
								type: 'input',
								field: 'phone',
								placeholder: '请输入电话',
								value: ''
							}
						]
					}
					this.list[index].list.push(a)
				}
			}
		})
	</script>
</body>

</html>